package PolladminFunc;

import java.io.Serializable;
import java.util.Date;

public class Polladmin implements Serializable{

	private String username;
	private String password;
	private int accessibility = 4;
	private String email;
	private String fname;
	private String lname;
	private Date createtime;
	private Date expiredate;
	public Polladmin(){}
	public Polladmin(String username,
						String password,
						int accessibility,
						String email,
						String fname,
						String lname,
						Date createtime,
						Date expiredate){
		this.username=username;
		this.password=password;
		this.accessibility=accessibility;
		this.email=email;
		this.fname=fname;
		this.lname=lname;
		this.createtime=createtime;
		this.expiredate=expiredate;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
		System.out.println(username);
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getFname() {
		return fname;
	}
	public void setFname(String fname) {
		this.fname = fname;
	}
	public String getLname() {
		return lname;
	}
	public void setLname(String lname) {
		this.lname = lname;
	}
	
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public int getAccessibility() {
		return accessibility;
	}
	public void setAccessibility(int accessibility) {
		this.accessibility = accessibility;
	}
	public Date getExpiredate() {
		return expiredate;
	}
	public void setExpiredate(Date expiredate) {
		this.expiredate = expiredate;
	}
}
